Skip to content

Conversation

@svalentin
Copy link
Collaborator

@svalentin svalentin commented Dec 19, 2024

Our Changelog uses 3 number signs (#) for subheadings, not 4. This should generate proper <h3> in the blog post.

Also, code blocks are generated with just <pre> tags. Let's also add <code> tags so we can potentially apply syntax highlighting with js like highlight.js in the future, if we want to.
highlight.js detects <pre><code> ... </code></pre>. We can also put the language, but it detects it automatically: https://highlightjs.readthedocs.io/en/latest/readme.html#in-the-browser

Our Changelog is uses 3 number signs (#) for subheadings, not 4. This
should generate proper `<h3>` in the blog post.

Also, code blocks are generate with just `<pre>` tags. Let's also add
`<code>` tags so we can potentially apply syntax highlighting with js
like highlight.js in the future, if we want to.
@svalentin svalentin requested a review from JukkaL December 19, 2024 16:03
@svalentin svalentin merged commit f078faa into python:master Dec 19, 2024
13 checks passed
@svalentin svalentin deleted the blog-html branch December 19, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants